package com.sixth.volunteerservicesystem.mapper;

import com.sixth.volunteerservicesystem.domain.Project;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

@Mapper
public interface BackendProjectMapper {
    // 返回项目数
    public int findCountByMap(HashMap<String, Object> map);
    // 返回项目信息列表
    public List<Project> findListByMap(HashMap<String, Object> map);

    public void projectInsert(Project project);

    public Project findByformId(String formId);

}
